package com.zhht.checkcop.db;

import java.io.Serializable;

import com.zhht.checkcop.db.Park;

public class ParkVO implements Serializable {

    private static final long serialVersionUID = 1007234829013254299L;

    private java.lang.Long parkId;                  // 停车场ID
    private java.lang.Long operationId;             // 运营商ID
    private java.lang.Long areaId;                  // 区域ID
    private java.lang.Long parentId;                // 父车场ID，0：无父运营商，其他：父运营商
    private java.lang.Long scopeId;                 // x类区ID
    private java.lang.String parkName;              // 停车场名称
    private java.lang.String parkCode;              // 停车场编码
    private java.lang.String parkAddress;           // 停车场地址
    private java.lang.Integer amount;               // 总车位数
    private java.util.Date bootTime;                // 启用时间
    private java.lang.Integer mapGrade;             // 地图呈现比例尺等级，1~5个等级
    private java.lang.Integer longitude;            // 经度，百万分之一度
    private java.lang.Integer latitude;             // 纬度，百万分之一度
    private java.lang.Integer parkState;            // 停车场状态, 1施工、2断网、3断电、4运营中
    private java.lang.Integer parkType;             // 停车场类型，停车场类型，1：路侧平行 2： 路侧垂停车场，3：封闭车场，4：半封闭车场
    private java.lang.Integer closedParkType;       // 封闭停车场物理类型 1.地上 2.地下 3.地上+地下
    private java.lang.Integer publicType;           // 是否公共车场：是：1，否：2
    private java.lang.Integer innerPayable;         // 是否支持场内支付：是：1，否：2
    private java.lang.String description;           // 描述
    private java.lang.Integer commercialStatus;     // 商用状态：下线：1，商用：2，试运行：3
    private java.lang.Integer businessType;         // 业务类型：政府：1，商业：2
    private java.lang.Long businessOwner;           // 所属商业机构ID
    private java.lang.Integer cooperationModel;     // 合作模式：自营：1，合作：2
    private java.lang.Integer payMode;              // 支付方式：全部：0，电子支付：1，现金支付：2
    private java.lang.Integer slaveRelation;        // 停车场父子关系：独立车场：0，父车场：1，子车场：2
    private java.lang.Integer contract;             // 是否承包：是：0，否：1
    private String openStartTime;                   // 停车场开放开始时间
    private String openStopTime;                    // 停车场开放结束时间
    private java.lang.Long creatorId;               // 创建人
    private java.lang.Integer parkEquipmentType;    // 车场设备类型: 1.枪球设备车场 2.自研设备车场 3.混合车场
    private String parkAlias;                       // 停车场别名（标识）
    private Integer parkAccessType;                     // 接入方式 1平台接入 2第三方接入
    private java.util.Date createdTime;
    private java.util.Date updatedTime;
    /**
     * 以上为原始字段,以下为新增字段
     */
    private String areaName;                        // 所属区域
    private Long parentAreaId;
    private String operationName;                   // 运营商名称
    private String scopeName;                       // X区名称
    private String parentParkName;                  // 父车场名称
    private String parkIds;                         // 多个停车场主键,逗号分隔
    private Integer occupyAmount;                   // 占用的泊位数
    
    private Integer videoBerthNum;                  //视频泊位数量
    private String imageUrl;//车场图片地址
    
    private Integer chargeable;//   是否可充电，1是 0否
    public ParkVO() {
        
    }

    public ParkVO(Park park) {
        super();
        this.parkId = park.getParkId();
        this.operationId = park.getOperationId();
        this.areaId = park.getAreaId();
        this.parentId = park.getParentId();
        this.scopeId = park.getScopeId();
        this.parkName = park.getParkName();
        this.parkCode = park.getParkCode();
        this.parkAddress = park.getParkAddress();
        this.amount = park.getAmount();
        this.bootTime = park.getBootTime();
        this.mapGrade = park.getMapGrade();
        this.longitude = park.getLongitude();
        this.latitude = park.getLatitude();
        this.parkState = park.getParkState();
        this.parkType = park.getParkType();
        this.closedParkType = park.getClosedParkType();
        this.publicType = park.getPublicType();
        this.innerPayable = park.getInnerPayable();
        this.description = park.getDescription();
        this.commercialStatus = park.getCommercialStatus();
        this.businessType = park.getBusinessType();
        this.businessOwner = park.getBusinessOwner();
        this.cooperationModel = park.getCooperationModel();
        this.payMode = park.getPayMode();
        this.slaveRelation = park.getSlaveRelation();
        this.contract = park.getContract();
        this.openStartTime = park.getOpenStartTime();
        this.openStopTime = park.getOpenStopTime();
        this.creatorId = park.getCreatorId();
        this.parkEquipmentType = park.getParkEquipmentType();
        this.parkAlias = park.getParkAlias();
        this.parkAccessType = park.getParkAccessType();
    }

    public Integer getChargeable() {
        return chargeable;
    }

    public void setChargeable(Integer chargeable) {
        this.chargeable = chargeable;
    }
    public Integer getVideoBerthNum() {
        return videoBerthNum;
    }

    public void setVideoBerthNum(Integer videoBerthNum) {
        this.videoBerthNum = videoBerthNum;
    }

    private int feeMoney;   // 计费金额，单位：分
    private String feeDesc; // 计费描述

    public java.lang.Integer getClosedParkType() {
        return closedParkType;
    }

    public void setClosedParkType(java.lang.Integer closedParkType) {
        this.closedParkType = closedParkType;
    }

    public java.lang.Long getScopeId() {
        return scopeId;
    }

    public void setScopeId(java.lang.Long scopeId) {
        this.scopeId = scopeId;
    }

    public java.util.Date getBootTime() {
        return bootTime;
    }

    public void setBootTime(java.util.Date bootTime) {
        this.bootTime = bootTime;
    }

    public java.lang.String getDescription() {
        return description;
    }

    public void setDescription(java.lang.String description) {
        this.description = description;
    }

    public java.lang.Integer getContract() {
        return contract;
    }

    public void setContract(java.lang.Integer contract) {
        this.contract = contract;
    }

    public String getOpenStartTime() {
        return openStartTime;
    }

    public void setOpenStartTime(String openStartTime) {
        this.openStartTime = openStartTime;
    }

    public String getOpenStopTime() {
        return openStopTime;
    }

    public void setOpenStopTime(String openStopTime) {
        this.openStopTime = openStopTime;
    }

    public java.lang.Long getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(java.lang.Long creatorId) {
        this.creatorId = creatorId;
    }

    public String getOperationName() {
        return operationName;
    }

    public void setOperationName(String operationName) {
        this.operationName = operationName;
    }

    public String getScopeName() {
        return scopeName;
    }

    public void setScopeName(String scopeName) {
        this.scopeName = scopeName;
    }

    public String getParentParkName() {
        return parentParkName;
    }

    public void setParentParkName(String parentParkName) {
        this.parentParkName = parentParkName;
    }

    public Long getOperationId() {
        return operationId;
    }

    public void setOperationId(Long operationId) {
        this.operationId = operationId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getParkCode() {
        return parkCode;
    }

    public void setParkCode(String parkCode) {
        this.parkCode = parkCode;
    }

    public String getParkAddress() {
        return parkAddress;
    }

    public void setParkAddress(String parkAddress) {
        this.parkAddress = parkAddress;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getMapGrade() {
        return mapGrade;
    }

    public void setMapGrade(Integer mapGrade) {
        this.mapGrade = mapGrade;
    }

    public Integer getLongitude() {
        return longitude;
    }

    public void setLongitude(Integer longitude) {
        this.longitude = longitude;
    }

    public Integer getLatitude() {
        return latitude;
    }

    public void setLatitude(Integer latitude) {
        this.latitude = latitude;
    }

    public Integer getParkState() {
        return parkState;
    }

    public void setParkState(Integer parkState) {
        this.parkState = parkState;
    }

    public Integer getParkType() {
        return parkType;
    }

    public void setParkType(Integer parkType) {
        this.parkType = parkType;
    }

    public Integer getPublicType() {
        return publicType;
    }

    public void setPublicType(Integer publicType) {
        this.publicType = publicType;
    }

    public Integer getInnerPayable() {
        return innerPayable;
    }

    public void setInnerPayable(Integer innerPayable) {
        this.innerPayable = innerPayable;
    }

    public Integer getCommercialStatus() {
        return commercialStatus;
    }

    public void setCommercialStatus(Integer commercialStatus) {
        this.commercialStatus = commercialStatus;
    }

    public Integer getBusinessType() {
        return businessType;
    }

    public void setBusinessType(Integer businessType) {
        this.businessType = businessType;
    }

    public Long getBusinessOwner() {
        return businessOwner;
    }

    public void setBusinessOwner(Long businessOwner) {
        this.businessOwner = businessOwner;
    }

    public Integer getCooperationModel() {
        return cooperationModel;
    }

    public void setCooperationModel(Integer cooperationModel) {
        this.cooperationModel = cooperationModel;
    }

    public Integer getPayMode() {
        return payMode;
    }

    public void setPayMode(Integer payMode) {
        this.payMode = payMode;
    }

    public Integer getSlaveRelation() {
        return slaveRelation;
    }

    public void setSlaveRelation(Integer slaveRelation) {
        this.slaveRelation = slaveRelation;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Long getParentAreaId() {
        return parentAreaId;
    }

    public void setParentAreaId(Long parentAreaId) {
        this.parentAreaId = parentAreaId;
    }

    public Long getParkId() {
        return parkId;
    }

    public void setParkId(Long parkId) {
        this.parkId = parkId;
    }

    public String getParkName() {
        return parkName;
    }

    public void setParkName(String parkName) {
        this.parkName = parkName;
    }

    public java.lang.Integer getParkEquipmentType() {
        return parkEquipmentType;
    }

    public void setParkEquipmentType(java.lang.Integer parkEquipmentType) {
        this.parkEquipmentType = parkEquipmentType;
    }

    public String getParkIds() {
        return parkIds;
    }

    public void setParkIds(String parkIds) {
        this.parkIds = parkIds;
    }

    public Integer getOccupyAmount() {
        return occupyAmount;
    }

    public void setOccupyAmount(Integer occupyAmount) {
        this.occupyAmount = occupyAmount;
    }

    public java.util.Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(java.util.Date createdTime) {
        this.createdTime = createdTime;
    }

    public java.util.Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(java.util.Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public int getFeeMoney() {
        return feeMoney;
    }

    public void setFeeMoney(int feeMoney) {
        this.feeMoney = feeMoney;
    }

    public String getFeeDesc() {
        return feeDesc;
    }

    public void setFeeDesc(String feeDesc) {
        this.feeDesc = feeDesc;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public Integer getParkAccessType() {
        return parkAccessType;
    }

    public void setParkAccessType(Integer parkAccessType) {
        this.parkAccessType = parkAccessType;
    }

    public String getParkAlias() {
        return parkAlias;
    }

    public void setParkAlias(String parkAlias) {
        this.parkAlias = parkAlias;
    }
}

